package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface RoleService {

    List<Role> findAll();
    PageResult findPage(QueryPageBean queryPageBean);

    Map<String,Object> findAllPage();

    void add(Map<String, Object> map);

    Role findById(Integer id);

    HashMap<String,Object> findmenuAndPermissionIdsByRoleId(Integer id);

    void deleteById(Integer id);

    void edit(Map<String, Object> map);


}
